package com.shenfa.bean;
/**
 * 模板数据库对象
 * @author laixiaodong
 * @date 2011-8-19
 */
public class Template {
	/**
	 * 模板ID
	 */
	private String id;
	/**
	 * 模板名称
	 */
	private String name;
	/**
	 * 模板版本
	 */
	private int version;
	/**
	 * 模板对以卡产品id
	 */
	private String cardid;
	/**
	 * 模板对以卡产品名称
	 */
	private String cardname;
	/**
	 * 模板类型
	 */
	private String type;
	/**
	 * 模板存储路径
	 */
	private String storpath;
	/**
	 * JOB保存路径
	 */
	private String jobpath;
	/**
	 * 样张保持路径
	 */
	private String images;
	/**
	 * 模板状态
	 */
	private String state;
	/**
	 * 创建人
	 */
	private String personid;
	/**
	 * 创建时间
	 */
	private String createtime;
	/**
	 * 模板区域个数
	 */
	private int areano;
	@Override
	public String toString() {
		return "ID:"+id+",名称:"+name+",版本:"+version+",卡产品ID:"+cardid+",类型:"+type+",模板路径:"+storpath
		+",JOB路径:"+jobpath+",IMG路径:"+images+",状态:"+state+",区域个数:"+areano;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public String getCardid() {
		return cardid;
	}
	public void setCardid(String cardid) {
		this.cardid = cardid;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getStorpath() {
		return storpath;
	}
	public void setStorpath(String storpath) {
		this.storpath = storpath;
	}
	public String getJobpath() {
		return jobpath;
	}
	public void setJobpath(String jobpath) {
		this.jobpath = jobpath;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getPersonid() {
		return personid;
	}
	public void setPersonid(String personid) {
		this.personid = personid;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getCardname() {
		return cardname;
	}
	public void setCardname(String cardname) {
		this.cardname = cardname;
	}
	public int getAreano() {
		return areano;
	}
	public void setAreano(int areano) {
		this.areano = areano;
	}
	
	
	
}
